package Tela;

import com.nilo.plaf.nimrod.NimRODLookAndFeel;
import com.nilo.plaf.nimrod.NimRODTheme;
import java.security.Principal;
import javax.swing.JOptionPane;
import javax.swing.UIManager;

public class Tema 
{
    public void LF() 
    {
        try 
        {
            NimRODTheme nimRODTheme = new NimRODTheme(Principal.class.getResource("/Temas/Night.theme"));
            NimRODLookAndFeel nimRODLookAndFeel = new NimRODLookAndFeel();
            NimRODLookAndFeel.setCurrentTheme(nimRODTheme);
            UIManager.setLookAndFeel(nimRODLookAndFeel);
        } catch (Exception erro) 
        {
            JOptionPane.showMessageDialog(null, "LAF" + erro);
        }
    }
}
